<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>

</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">用户管理</a></li>
    <li><a href="#">查询用户</a></li>
	<li><a href="#">查询结果</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
      
   <div class="formtitle1"><span>用户列表</span></div>
   
    <table class="tablelist" >
    	<thead>
    	<tr>
        <th>序号</th>
        <th>用户名</th>
        <th>用户性别</th>
        <th>手机号</th>
		<th>QQ号</th>
		<th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="user" varStatus="status">
            <tr>
                <td>${status.count}</td>
                <td>${user.username}</td>
                <td><c:choose>
                    <c:when test="${user.usersex=='男'}">
                        男
                    </c:when>
                    <c:otherwise>
                         女
                    </c:otherwise>
                </c:choose></td>
                <td>${user.phoneNum}</td>
                <td>${user.qqNum}</td>
                <td><a href="usermanager.do?flag=preUpdate&userid=${user.userid}" class="tablelink" onclick="deletFuc()">修改</a> &nbsp;&nbsp;&nbsp;&nbsp;  <a href="usermanager.do?flag=deletUser&userid=${user.userid}" class="tablelink click"> 删除</a></td>
            </tr>
        </c:forEach>


        </tbody>

    </table>
    </div>
<script >
    function deletFuc (e) {
        alert()
    }
</script>
</body>

</html>
